import React from 'react';
import { connect } from 'react-redux';
import Counter from '../components/counter';
import TodoRedux from '../components/todo-redux/index';
import css from '../styles/thunk.scss';
class Redux extends React.Component {
    static getInitialProps = () => {
        return { title: 'redux' };
    };
    render() {
        return (
            <>
                <div className={css.flex}>
                    <Counter />
                    <TodoRedux />
                </div>
            </>
        );
    }
}

export default connect()(Redux);
